package com.xuetang9.cloud.house.login.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Arrays;

/**
 * TODO
 *
 * @author 老九学堂
 * @copyright 老九学堂
 */
@Controller
public class LoginController {


    @RequestMapping("login.html")
    public String login(ModelMap modelMap){
        modelMap.put("title","房产系统-登陆页面");
        modelMap.put("desc","找房子,好房子");
        modelMap.put("names", Arrays.asList("张三","李四","王武"));
        return "login-register";
    }

}
